/*
 * SampleDesktopDbView.java
 */

package seso;

import org.jdesktop.application.FrameView;
import org.jdesktop.application.SingleFrameApplication;

/**
 * The application's main frame.
 */
public class RFrameView extends FrameView {

    /** 是否处于主界面 **/
    private boolean isMainMode = false;

    /** 是否处于新建模式 **/
    private boolean isNewMode = false;
    
    /** 是否处于显示模式 **/
    private boolean isDisplayMode = true;
    
    /** 是否处于更改模式 **/
    private boolean isChangeMode = false;

    public RFrameView(SingleFrameApplication app) {
        super(app);

        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

    /**
     * @return the isNewMode
     */
    public boolean getIsNewMode() {
        return isNewMode;
    }

    /**
     * @param isNewMode the isNewMode to set
     */
    public void setIsNewMode(boolean isNewMode) {
        this.isNewMode = isNewMode;
    }

    /**
     * @return the isDisplayMode
     */
    public boolean getIsDisplayMode() {
        return isDisplayMode;
    }

    /**
     * @param isDisplayMode the isDisplayMode to set
     */
    public void setIsDisplayMode(boolean isDisplayMode) {
        this.isDisplayMode = isDisplayMode;
    }

    /**
     * @return the isChangeMode
     */
    public boolean getIsChangeMode() {
        return isChangeMode;
    }

    /**
     * @param isChangeMode the isChangeMode to set
     */
    public void setIsChangeMode(boolean isChangeMode) {
        this.isChangeMode = isChangeMode;
    }

    /**
     * @return the isMainMode
     */
    public boolean getIsMainMode() {
        return isMainMode;
    }

    /**
     * @param isMainMode the isMainMode to set
     */
    public void setIsMainMode(boolean isMainMode) {
        this.isMainMode = isMainMode;
    }
}
